<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<html:xhtml />
<div id="xChrom" class="content input">
    <h2>X Chromosome Analysis Files</h2>
    <html:form  action="/xChromSubmit" >
        <dl>
            <dt><bean:message key="xChrom.cohort" />:</dt>
            <dd>
                <html:select property="selectedCohort" size="6" multiple="multiple">
                    <html:optionsCollection property="cohorts" value="cohortID" label="name" />
                </html:select>
                <html:errors property="selectedCohort" />
            </dd>
            <dt>Subject Filter:</dt>
            <dd>
                <html:checkbox styleId="removeDuplicateSubjects" property="removeDuplicateSubjects" />
                <label for="removeDuplicateSubjects">Remove Duplicate Subjects</label><br />
                <html:checkbox styleId="removeMzTwins" property="removeMzTwins" />
                <label for="removeMzTwins">Remove MZ Twins</label>
            </dd>
            <dt>Phenotypes:</dt>
            <dd>
                <html:select property="selectedPhenotype">
                    <html:optionsCollection property="phenotypes" value="phenotypeID" label="name" />
                </html:select>
            </dd>
            <dt><bean:message key="xChrom.gene" />:</dt>
            <dd>
                <html:select property="selectedGenes" multiple="multiple" size="8">
                    <html:optionsCollection property="availableGenes" value="geneID" label="name" />
                </html:select>
                <html:errors property="selectedGenes" />
            </dd>
            <dt>Output Format:</dt>
            <dd>
                <html:select property="format">
                    <html:optionsCollection property="availableFormats" label="name" value="name" />
                </html:select>
            </dd>
            <dt><bean:message key="xChrom.email" />:</dt>
            <dd>
                <html:text property="email"/>
                <html:errors property="email" />
            </dd>
        </dl>
        <p><html:submit property="submitType" value="Submit" /></p>
    </html:form>
</div>